up: programming  
programming tools
using gdb
What links here?

start from command line with:

gdb

Include the file extention.

Commands:
Runrun the program
break filename.cpp:line_number set breakpoint
break function_name set breakpoint at start of function
continue continue running after a breakpoint.
next execute next line of code. If the line contains a function call, it is treated as a single line.
step execute next line of code. If the line contains a function call, it is stepped into.
print i display contents of variable
where display function call stack
frame n switch to call stack frame n. 0 is the current stack frame.
set args to set command line arguements.


using gdb as the jit debugger:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug]
"UserDebuggerHotKey"=dword:00000000
"Debugger"="\"C:\\gdb\\bin\\gdb.exe\" -p %ld"



References:
programming tools - using gdb
filename:programming tools - using gdb
filename:programming%20tools%20%2D%20using%20gdb
last edit:October 17 2010 21:44:24 (4948 days ago)
ct = 1714945013.000000 = May 05 2024 17:36:53
ft = 1287366264.000000 = October 17 2010 21:44:24
dt = 427578749.000000